
# 内核源码所在目录
Kernel_Dir ?=/usr/src/linux-headers-$(shell uname -r)/

Work_Dir := $(shell pwd)

obj-m := Hello.o Client.o

all:
	make -C $(Kernel_Dir) M=$(Work_Dir) modules

clean:
	rm -rf *.o	*.cmd *.ko *.mod  *.symvers *.order